#
# MAINTAINER        liuxiaolu <liuxiaoluxx@gmail.com>
#
# harbor.liuxiaolu.lxlit.cn/fuxiaoxue/azul/zulu-openjdk-alpine:11-jre
#
FROM registry.cn-hangzhou.aliyuncs.com/liuxiaoluxx/zulu-openjdk-alpine:v1.0
MAINTAINER liuxiaolu <liuxiaoluxx@gmail.com>
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && echo 'Asia/Shanghai' >/etc/timezone

WORKDIR /app
COPY ./target/api-0.0.1-SNAPSHOT.jar /app/server.jar

EXPOSE 8082
CMD java -Dfile.encoding=UTF-8 -jar server.jar
